﻿using SqlSugar;

namespace AT.Data.Core.SC_Customer
{
    ///<summary>
    ///销售订单表(SC=SalesCustomer,ERP=数据来源系统)
    ///</summary>
    [SugarTable("SC_SalesOrder")]
    [Tenant("USER")]
    public partial class SC_SalesOrder
    {
           public SC_SalesOrder(){


           }
           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           public int Id {get;set;}

           /// <summary>
           /// Desc:订单日期
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string OrderDate {get;set;}

           /// <summary>
           /// Desc:销售组织
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string SalesOrg {get;set;}

           /// <summary>
           /// Desc:销售部门
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string SalesDept {get;set;}

           /// <summary>
           /// Desc:销售人员
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string SalesPerson {get;set;}

           /// <summary>
           /// Desc:询报价编号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string InquiryNo {get;set;}

           /// <summary>
           /// Desc:客户编码
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string CustomerCode {get;set;}

           /// <summary>
           /// Desc:客户名称
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string CustomerName {get;set;}

           /// <summary>
           /// Desc:客户采购订单号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string CustomerPO {get;set;}

           /// <summary>
           /// Desc:药物靶点/机制
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string DrugTarget {get;set;}

           /// <summary>
           /// Desc:生产基地
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string ProductionBase {get;set;}

           /// <summary>
           /// Desc:联系电话
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string ContactPhone {get;set;}

           /// <summary>
           /// Desc:结算方
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string SettleParty {get;set;}

           /// <summary>
           /// Desc:客户区域
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string CustomerRegion {get;set;}

           /// <summary>
           /// Desc:终端区域
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string EndUserRegion {get;set;}

           /// <summary>
           /// Desc:项目类型
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string ProjectType {get;set;}

           /// <summary>
           /// Desc:药物名称
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string DrugName {get;set;}

           /// <summary>
           /// Desc:订单金额
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Amount {get;set;}

           /// <summary>
           /// Desc:来源系统：ERP/OA
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string SourceSystem {get;set;}

           /// <summary>
           /// Desc:系统Id
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string SystemId {get;set;}

           /// <summary>
           /// Desc:创建时间
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? CreateDate {get;set;}

    }
}
